#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from django.urls import re_path, path
from rest_framework.routers import DefaultRouter

from . import views

app_name = "goods"

urlpatterns = [
    re_path(r"^categories/(?P<category_id>\d+)/skus/", views.SKUListView.as_view()),
]
router = DefaultRouter()
router.register("skus_search", views.SKUSearchViewSet, base_name="skus_search")
urlpatterns += router.urls
